<div class="proList_classify">
  <%set DataTable categoryList=get_category_list(topid)%>
  <%foreach(DataRow cdr in categoryList.Rows)%>
  <%set DataTable bcategoryList=get_category_list({strtoint({cdr[id]})})%>
  <div class="sidepromenu col-xs-6 col-sm-6 col-md-12 col-lg-12">
    <div class="proListclass1"><i></i> <a href="<%linkurl(1,{cdr[id]})%>" title="{cdr[catname]}" class="proListclass2">{cdr[catname]}</a><b></b></div>
    <ul>
      <li>
        <p >
          <%foreach(DataRow dr in bcategoryList.Rows)%>
          <%if({strtoint({dr[id]})}==catid) %>
          <a href="<%linkurl(1,{dr[id]})%>" title="{dr[catname]}" class="cur"><b></b><span>{dr[catname]}</span></a>
          <%else%>
          <a href="<%linkurl(1,{dr[id]})%>" title="{dr[catname]}"><b></b><span>{dr[catname]}</span></a>
          <%/if%>
          <%/foreach%>
        </p>
      </li>
    </ul>
  </div>
  <%/foreach%>
</div>
